package com.sanery.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sanery.dao.ShopDao;
import com.sanery.entity.Shop;
import com.sanery.service.ShopService;

@Service("shopService")
public class ShopServiceImpl implements ShopService {

	@Autowired
	private ShopDao dao = null;

	@Override
	public List<Shop> getShops() {
		List<Shop> list = dao.getShops();
		return list;
	}

}
